package com.oceansoft.mobile.econsole.modules.member.service;

import com.oceansoft.mobile.econsole.modules.base.entity.Result;
import com.oceansoft.mobile.econsole.modules.member.entity.WtMember;
import com.oceansoft.mobile.econsole.modules.member.entity.WtMemberMange;

/**
 * Created by Administrator on 2016/1/31.
 */
public interface IWtMemberService {

    WtMember getWtMemberByUserGuid(String guid);

    WtMember getWtMemberByOpenid(String openId);

    WtMember getInfoByUserName(String userName);

    int loadUserByTelAndPwd(String userName,String password);

    int updateOpenidByUserName(String userName,String openid);

    Result updateWtMemberMobile(WtMember wtMember);

    Result updateWtMemberPwd(WtMember wtMember);

    Result updateWtMemberPwdByUserName(WtMember wtMember);

    Result updateWtMemberInfo(WtMember wtMember);

    Result saveWtMemner(WtMember wtMember);

    Result saveWtMemberMange(WtMemberMange wtMemberMange);
}
